xl: print sxp on dry-run of create.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:36:02 +0000 (17:36 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 2 Jun 2011 16:36:02 +0000 (17:36 +0100)
commit83cd67d589caf8d5111d575e5a4bc93763664fb1
tree748f475a1774eeed45f1d65447583534506d7418
parent8acc9d512e07e1134709cb0dd485853ef54a7873
xl: print sxp on dry-run of create.

The help text for xm create's --dry-run says "Dry run - prints the
resulting configuration in SXP but does not create the domain." so
update xl implementation to match. At least the xendomains initscript
relies on this (for better or worse).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Tested-by: Carsten Schiers <carsten@schiers.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c